Make notebook content redraw during drag
authorMatthias Clasen <mclasen@redhat.com>
Fri, 30 May 2014 17:38:26 +0000 (13:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 30 May 2014 17:39:27 +0000 (13:39 -0400)
The extra condition here that caused the current child to
not redraw during reordering was introduced in f383e1f1
during the port to ::draw, but was not explained in the
commit message, and removing it has no obvious negative
effect.

https://bugzilla.gnome.org/show_bug.cgi?id=730767

gtk/gtknotebook.c

index 062690f7890b1a68c6e863a50fdddaf665467bdc..abad51139b2b9e0d1c3c0f9e561c4a19565ac23a 100644 (file)
@@ -2611,7 +2611,7 @@ gtk_notebook_draw (GtkWidget *widget,
             }
         }
 
-      if (priv->cur_page && priv->operation != DRAG_OPERATION_REORDER)
+      if (priv->cur_page)
         gtk_container_propagate_draw (GTK_CONTAINER (notebook),
                                       priv->cur_page->child,
                                       cr);